package pl.enigmatic.random;

import java.util.List;


public class FixedLengthRandomString extends RandomString {

	private final int length;

	public FixedLengthRandomString(int length) {
		this.length = length;
	}

	public FixedLengthRandomString(int length, char[] list) {
		super(list);
		this.length = length;
	}

	public FixedLengthRandomString(int length, Character[] list) {
		super(list);
		this.length = length;
	}

	public FixedLengthRandomString(int length, List<Character> list) {
		super(list);
		this.length = length;
	}

	@Override
	protected int getLength() {
		return length;
	}

}
